package com.varian.rabbit.model;

/**
 * @author ben
 * @since 2024/9/3
 */
public record RabbitRoute(String exchange, String routingKey) {

    public static RabbitRoute of(String exchange, String routingKey) {
        return new RabbitRoute(exchange, routingKey);
    }
}
